package com.intellagric.interfaces.travel_business;


import com.intellagric.common.bean.LayuiDataGridResult;
import com.intellagric.common.bean.ResponseMessage;
import com.intellagric.pojo.TravelBusiness;

import java.util.List;
import java.util.Map;

public interface TravelBusinessService {

    //增加
    ResponseMessage addTravelBusiness(TravelBusiness travelBusiness);

    //删除
    ResponseMessage deleteTravelBusinessById(String id);

    ResponseMessage batchDelete(String[] ids);

    //修改
    ResponseMessage editTravelBusiness(TravelBusiness travelBusiness);

    //查询
   TravelBusiness getTravelBusinessById(String id);

    LayuiDataGridResult getTravelBusinessList(int page, int rows, String keyword);


    List<Map<String, String>> getComsumption();
}
